home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / interp11.zip / README < prev    next >
Text File  |  1991-11-03  |  2KB  |  36 lines

  1. In September of 1991, someone posted a request on FidoNet's C_ECHO
  2. requesting for an expression evaluator similar to one that was
  3. available for QuickBASIC.  After a couple of weeks of (admittedly
  4. on-and-off) work, I posted version 1.0 of INTERP on the echo in six
  5. rather large messages.
  6.  
  7. When Bob Stout discovered that numbers couldn't start with a decimal
  8. point, he encouraged me to change it.  At that time, I also read P. J.
  9. Plauger's "Standard C" column in the C USER'S JOURNAL, which detailed
  10. why my usage of setjmp() was decidedly nonstandard.  For version 1.1,
  11. I have changed the code to satisfy both Robert B. Stout and ANSI.
  12.  
  13. However, since the snippets are for code posted on the C_ECHO and
  14. because I judge this to be quite a bit too large for posting there, I
  15. am releasing it via the PDN.  This has prompted Bob to produce his own
  16. expression evaluator which WAS released onto the echo and which WILL
  17. be in snippets, but that's beside the point.
  18.  
  19. This "library" is only provided in source so that it could be used by
  20. people who use compilers that I don't have.  It should compile and
  21. work on any ANSI-compatable compiler.  I don't think I made any
  22. assumptions about the runtime environment other than that.  If you
  23. want to try it out with a simple command-line interface, just compile
  24. it with the macro DEBUG defined and run it.
  25.  
  26. Otherwise, just compile it to object code and link it in to whatever
  27. you want to use it with.  There should be sufficient documentation in
  28. the source to allow any reasonably skilled programmer to use this.
  29.  
  30. Good Luck.
  31.  
  32. Jonathan R. Guthrie
  33. (Fido 1:106/2000.25)
  34. (Bix  jguthrie)
  35. (Delphi SCIGUY)
  36.